<template>
  <view id="app" class="login">
    <cu-custom bg-color="bg-gradual-blue-dark" :isBack="true">
      <block slot="content">注册</block>
    </cu-custom>
    <view class="login-form">
      <form id="loginForm">
        <view class="login-input">
          <text class="lg text-gray icon-text" :class="'cuIcon-mobilefill'"></text>
          <input placeholder="手机号" />
        </view>
        <view class="login-input">
          <text class="lg text-gray icon-text" :class="'cuIcon-unlock'"></text>
          <input placeholder="验证码" type="password" />
        </view>
        <view class="login-input">
          <text class="lg text-gray icon-text" :class="'cuIcon-unlock'"></text>
          <input placeholder="请输入密码" type="password" />
        </view>
        <view class="login-input">
          <text class="lg text-gray icon-text" :class="'cuIcon-unlock'"></text>
          <input placeholder="请再次输入密码" type="password" />
        </view>
      </form>
      <view class="text-right">
        <button class="cu-btn round bg-blue shadow login-btn">注册</button>
      </view>
    </view>
  </view>
</template>
<script>
export default {
  data() {
    return {
      loginInfo: {
        userType: 100,
        userAlias: "",
        password: ""
      }
    };
  },
  methods: {
    loginFun: function() {}
  },
  components: {}
};
</script>


<style lang="scss" scoped>
.login {
  position: fixed;
  width: 100%;
  height: 100%;
  //   background: url("../../static/images/login_bg.jpg") no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  overflow-x: hidden;
  background: #406fa0;

  .login-form {
    margin: 40rpx;
    margin-top: 200rpx;
    padding: 35rpx;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20rpx;
    display: flex;
    flex-direction: column;

    .login-input {
      display: flex;
      align-items: center;
      margin-top: 30rpx;
      height: 120rpx;
      border-radius: 60rpx;
      color: #ffffff;
      background-color: rgba(2, 2, 2, 0.6);

      image {
        width: 40rpx;
        height: 40rpx;
        line-height: 120rpx;
        margin: 0 20rpx 0 40rpx;
      }
    }

    .login-btn {
      margin-top: 60rpx;
      width: 100%;
      height: 120rpx;
      line-height: 120rpx;
      color: #ffffff;
      border: none;
      border-radius: 5000rpx;
      font-size: 16px;
      background-color: #406fa0;
      background-image: linear-gradient(5deg, #033e7a, #406fa0);
    }

    .action-row {
      display: flex;
      padding: 40rpx 0;
      text-align: center;
      color: #ffffff;

      .reg {
        flex: 1;
        align-items: flex-start;
      }

      .forget {
        flex: 1;
        align-items: flex-end;
      }
    }

    .login-footer {
      padding: 15rpx;
      font-size: 12px;
      text-align: center;
      color: #999999;
      width: 100%;

      .href-blue {
        color: #3688ff;
      }
    }
  }
  .icon-text {
    color: #fff;
    font-size: 40rpx;
    padding: 0 20rpx;
  }
}
</style>
